package verify;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

public class DataBase {
    public Connection connection;
    private Statement statement;

    //设置连接,创建对象
    public void setConnection(String url,String user,String password) throws SQLException {
        connection= DriverManager.getConnection(url,user,password);
        //statement=connection.createStatement();
    }
}
